Oracle Common Dump command
Memory Dumps
1). Global Area
ALTER session SET The EVENTS ' immediatetrace name Global_area level n ';
1 contains PGA 2 contains SGA 4 contains UGA 8 contains indrect memory
2). Library Cache
ALTER session SET The EVENTS '
One, Oracle trace fileThere are three types of Oracle trace files, a background alarm log file that records the activity of the background process during startup, shutdown, and operation of the database, such as tablespace creation, rollback segment
One, Oracle trace FileOracle trace files are grouped into three categories:
One is the background alarm log file that records the activity of the background process during startup, shutdown, and running of the database , such as table space
I,OracleTracking FileThere are three types of Oracle tracking files:
One is the background alarm log file, which recordsDatabaseActivities of background processes during startup, shutdown, and running, such as creating tablespaces, creating
1.1UseOradebug- -Start taskOradebug Setmypid-- Set the name of the dump file to indicateAlter session Set Tracefile_identifier=undo-- view dump fileSql> Oradebug Tracefile_name;C:\opt\oracle\product\10.2.0\admin\rundb\udump\rundb_ora_6660_pra1.trc--
1. Create the test table SQLgt; createtabledump (idnumber, namevarchar (20); Tablecreated. SQLgt; insertintodumpvalues (1000,
1. create a test table SQLgt; create Table dump (id number, name varchar (20); table created. SQLgt; insert into dump
Introduction 1. What is WinDbg
WinDbg is a very good source-level (Source-level) debugging tool released by Microsoft, which can be used for kernel mode debugging and user-mode debugging, as well as debugging dump files.
WinDbg
Dump files are often encountered at work. Sometimes a dump is obtained, but more information is not provided, which may cause problems during import. If a user
Dump files are often encountered at work. Sometimes a dump is obtained, but more
Have you ever accidentally deleted a database table or damaged the disk where the database is stored? If you encounter this situation, I believe you will feel very frustrated, because the results of your hard work for a few weeks may be overwhelmed.
Use awk to parse dump files
Dump files are often encountered at work. Sometimes a dump is obtained, but more information is not provided, which may cause problems during import. If a user's default tablespace is user, but the table's tablespace in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.